package com.xindaoapp.framework.base;

import org.json.JSONObject;

import android.util.Log;

import com.tencent.tauth.IUiListener;
import com.tencent.tauth.UiError;

public class BaseUiListener implements IUiListener{

	@Override
	public void onComplete(Object response) {
		Log.i("onComplete:", response.toString());
		doComplete((JSONObject) response);
	}

	protected void doComplete(JSONObject values) {

	}

	@Override
	public void onError(UiError e) {
		Log.i("onComplete:", e.errorDetail);
	}

	@Override
	public void onCancel() {
		Log.i("onCancel:", "");
	}

}
